﻿<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:c4w="clr-namespace:Chem4Word.UI.TwoD" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="Chem4Word.UI.TwoD.CanvasContainer" mc:Ignorable="d" d:DesignHeight="400" d:DesignWidth="600">

	<Grid.Background>
		<LinearGradientBrush EndPoint="0.497,0" StartPoint="0.503,1">
			<GradientStop Color="#FF2C2C2C" Offset="0" />
			<GradientStop Color="#FF7D7D7D" Offset="1" />
		</LinearGradientBrush>
	</Grid.Background>

	<c4w:ChemCanvas x:Name="chemCanvas">
		<c4w:ChemCanvas.Effect>
			<DropShadowEffect />
		</c4w:ChemCanvas.Effect>
	</c4w:ChemCanvas>
	<Border Width="51" Margin="8,8,8,8" HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="116" Background="#00A8CDF1" BorderBrush="#FFA8CDF1" BorderThickness="3,3,3,3" CornerRadius="10,10,10,10" x:Name="zoomSlider">
		<Slider Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Stretch" Margin="0,5,0,10" Foreground="#FFA8CDF1" Minimum="1" Maximum="2" Value="{Binding ZoomFactor, ElementName=chemCanvas, Mode=Default, UpdateSourceTrigger=PropertyChanged}" />
	</Border>
<!--	<c4w:DragControl Margin="67,8,8,15" Width="100" Height="100" VerticalAlignment="Bottom" HorizontalAlignment="Left" ChemCanvas="{Binding ., ElementName=chemCanvas}" />-->
</Grid>